package Test3;

/**
 * @Author admin
 * @Date 2019/3/15 11:29
 */
public class Test3 {
    public static void main(String[] args) {
    boolean flag=true;
    if (flag){
        Test test=new Test();
        test.open();
        test.print();
        test.close();
    }else {
        Test2 test2=new Test2();
        test2.open();
        test2.print();
        test2.close();
    }
    }

}
